﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.components {
    import flash.text.*;

    public class Banner extends AbstractView {

        private var _userTextfield:TextField;

        public function Banner(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String){
            super(_arg1, _arg2, _arg3, _arg4);
        }
        override protected function createChildren():void{
            super.createChildren();
            this.createUserTextField();
        }
        private function createUserTextField():void{
            this._userTextfield = new TextField();
            this._userTextfield.x = 0;
            this._userTextfield.y = 5;
            this._userTextfield.width = _asset.width;
            addChild(this._userTextfield);
            var _local1:TextFormat = new TextFormat();
            _local1.font = "MyriadProFont";
            _local1.align = TextFormatAlign.CENTER;
            _local1.bold = true;
            _local1.color = "0x1588D5";
            _local1.size = 11;
            this._userTextfield.embedFonts = true;
            this._userTextfield.autoSize = TextFieldAutoSize.CENTER;
            this._userTextfield.selectable = false;
            this._userTextfield.defaultTextFormat = _local1;
            this._userTextfield.text = "Offline`s";
        }
        public function get userTextfield():TextField{
            return (this._userTextfield);
        }

    }
}//package net.wooga.pets.views.components 
